<?php

class content_menu_article_index implements site_interface_menu {

    public function inputs($config = array()) {
        $inputs = array(
            app::get('content')->_("文章ID") => array(
                'type' => 'input',
                'size' => 5,
                'title' => 'article_id',
                'name' => 'article_id',
                'value' => $config['article_id']
            )
        );
        return $inputs;
    }

    public function handle($post) {
        $this->params['article_id'] = $post['article_id'];
        
        $this->config = $this->params;
    }

    public function get_params() {
        return $this->params;
    }

    public function get_config() {
        return $this->config;
    }
}//End Class
